#23 ✓resolved
cbaclig

initialization_methods.rb syntax

Reported by cbaclig | September 2nd, 2009 @ 03:14 PM

'=' instead of '==' in property_value/recurrence_rule/initialization_methods.rb line 18

Here's a failing spec just for kicks.

it "should convert the rrule string to a hash" do
rrule_hash = RiCal::PropertyValue::RecurrenceRule.convert(nil, 'INTERVAL=2;FREQ=WEEKLY;BYDAY=TH,TU').to_options_hash rrule_hash.should == {:freq => 'WEEKLY', :byday => %w{TH TU}, :interval => 2} end

P.S. Keep up the great work Rick!

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A new icalendar data (RFC 2445) gem for Ruby which supports time zones and enumeration of occurrences

Shared Ticket Bins

People watching this ticket

Pages